﻿using System;
using SlimDX.XInput;

namespace GamepadDriver
{
	public class ButtonEventArgs : EventArgs
	{
		#region Constructors

		public ButtonEventArgs(GamepadButtonFlags button, ButtonState state)
			: base()
		{
			Button = button;
			State = state;
		}

		#endregion

		#region Properties

		public GamepadButtonFlags Button { get; private set; }

		public ButtonState State { get; private set; }

		#endregion
	}
}